home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / mfix0712.zip / MFIX.BAT < prev   
DOS Batch File  |  1992-07-12  |  1KB  |  69 lines

  1. @echo off
  2. cls
  3.  
  4.  
  5. echo     Batch file to FIX Maple code with 0709 merges
  6. echo     to fix Door return bug and add stock Fixes
  7. echo .
  8. echo .
  9. echo     You may wish to edit the Bled commands to include the drive/Sudir
  10. echo     were the rbbs*.bas files are kept and were the merge files are located
  11. echo .
  12. echo     Only apply this FIX ONLY TO MAPLE version of RBBS !!!!
  13. echo     you may also wish to make the changes Manually since
  14. echo     only a few areas were changed
  15. Pause
  16.  
  17. if %1?==? goto Usage
  18.  
  19. :Start
  20.  
  21.  
  22.  
  23.  
  24. if not exist BLED.EXE goto NoBLED
  25.  
  26. rem Apply a  merge:  BLED[/B/L/M/RC]  {source} {merges} {new file} {warn file}
  27.  
  28. REN RBBS-PC.BAS RBBS-PC.OLD
  29. REN RBBSSUB1.BAS RBBSSUB1.OLD
  30. REN RBBSSUB2.BAS RBBSSUB2.OLD
  31. REN RBBSSUB3.BAS RBBSSUB3.OLD
  32. REN RBBSSUB5.BAS RBBSSUB5.OLD
  33.  
  34. BLED /B/L rbbs-pc.old m-pc%1.fix rbbs-pc.bas mplpc.WRN
  35. BLED /B/L rbbssub1.old mbs1%1.fix rbbssub1.bas mpl1.WRN
  36. BLED /B/L rbbssub2.old mbs2%1.fix rbbssub2.bas mpl2.WRN
  37. BLED /B/L rbbssub3.old mbs3%1.fix rbbssub3.bas mpl3.WRN
  38. BLED /B/L rbbssub5.old mbs5%1.fix rbbssub5.bas mpl5.WRN
  39.  
  40.  
  41. echo ^g
  42. echo .
  43. echo       if all files were merged successfully
  44. echo       recomple and link
  45.  
  46. GOTO END:
  47.  
  48.  
  49. :NoBLED
  50. echo Missing BLED.EXE... Aborted.
  51. goto Stop
  52.  
  53.  
  54. :Usage
  55. echo Usage: MFIX xxxx
  56. echo .
  57. echo        where xxxx is the Fix File date (e.g. MFIX 0709 )
  58. echo .
  59.  
  60. Goto Stop
  61.  
  62. :End
  63.  
  64. echo       if the Merges were were succesfull recompile & Link
  65. echo .
  66.  
  67.  
  68. :Stop
  69.